Optimal. Leaf size=98 \[ \frac{2 (b c-a d) \sqrt{d e-c f} \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{e+f x}}{\sqrt{d e-c f}}\right )}{d^{5/2}}-\frac{2 \sqrt{e+f x} (b c-a d)}{d^2}+\frac{2 b (e+f x)^{3/2}}{3 d f} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.165123, antiderivative size = 98, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182 \[ \frac{2 (b c-a d) \sqrt{d e-c f} \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{e+f x}}{\sqrt{d e-c f}}\right )}{d^{5/2}}-\frac{2 \sqrt{e+f x} (b c-a d)}{d^2}+\frac{2 b (e+f x)^{3/2}}{3 d f} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)*Sqrt[e + f*x])/(c + d*x),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 17.8235, size = 85, normalized size = 0.87 \[ \frac{2 b \left (e + f x\right )^{\frac{3}{2}}}{3 d f} + \frac{2 \sqrt{e + f x} \left (a d - b c\right )}{d^{2}} - \frac{2 \left (a d - b c\right ) \sqrt{c f - d e} \operatorname{atan}{\left (\frac{\sqrt{d} \sqrt{e + f x}}{\sqrt{c f - d e}} \right )}}{d^{\frac{5}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)*(f*x+e)**(1/2)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.213632, size = 94, normalized size = 0.96 \[ \frac{2 (b c-a d) \sqrt{d e-c f} \tanh ^{-1}\left (\frac{\sqrt{d} \sqrt{e+f x}}{\sqrt{d e-c f}}\right )}{d^{5/2}}+\frac{2 \sqrt{e+f x} (3 a d f-3 b c f+b d (e+f x))}{3 d^2 f} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x)*Sqrt[e + f*x])/(c + d*x),x]
[Out]
_______________________________________________________________________________________
Maple [B] time = 0.013, size = 211, normalized size = 2.2 \[{\frac{2\,b}{3\,df} \left ( fx+e \right ) ^{{\frac{3}{2}}}}+2\,{\frac{a\sqrt{fx+e}}{d}}-2\,{\frac{bc\sqrt{fx+e}}{{d}^{2}}}-2\,{\frac{acf}{d\sqrt{ \left ( cf-de \right ) d}}\arctan \left ({\frac{\sqrt{fx+e}d}{\sqrt{ \left ( cf-de \right ) d}}} \right ) }+2\,{\frac{ae}{\sqrt{ \left ( cf-de \right ) d}}\arctan \left ({\frac{\sqrt{fx+e}d}{\sqrt{ \left ( cf-de \right ) d}}} \right ) }+2\,{\frac{b{c}^{2}f}{{d}^{2}\sqrt{ \left ( cf-de \right ) d}}\arctan \left ({\frac{\sqrt{fx+e}d}{\sqrt{ \left ( cf-de \right ) d}}} \right ) }-2\,{\frac{bce}{d\sqrt{ \left ( cf-de \right ) d}}\arctan \left ({\frac{\sqrt{fx+e}d}{\sqrt{ \left ( cf-de \right ) d}}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)*(f*x+e)^(1/2)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*sqrt(f*x + e)/(d*x + c),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.22108, size = 1, normalized size = 0.01 \[ \left [-\frac{3 \,{\left (b c - a d\right )} f \sqrt{\frac{d e - c f}{d}} \log \left (\frac{d f x + 2 \, d e - c f - 2 \, \sqrt{f x + e} d \sqrt{\frac{d e - c f}{d}}}{d x + c}\right ) - 2 \,{\left (b d f x + b d e - 3 \,{\left (b c - a d\right )} f\right )} \sqrt{f x + e}}{3 \, d^{2} f}, \frac{2 \,{\left (3 \,{\left (b c - a d\right )} f \sqrt{-\frac{d e - c f}{d}} \arctan \left (\frac{\sqrt{f x + e}}{\sqrt{-\frac{d e - c f}{d}}}\right ) +{\left (b d f x + b d e - 3 \,{\left (b c - a d\right )} f\right )} \sqrt{f x + e}\right )}}{3 \, d^{2} f}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*sqrt(f*x + e)/(d*x + c),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 15.6016, size = 212, normalized size = 2.16 \[ \frac{2 \left (\frac{b \left (e + f x\right )^{\frac{3}{2}}}{3 d} - \frac{f \left (a d - b c\right ) \left (c f - d e\right ) \left (\begin{cases} \frac{\operatorname{atan}{\left (\frac{\sqrt{e + f x}}{\sqrt{\frac{c f - d e}{d}}} \right )}}{d \sqrt{\frac{c f - d e}{d}}} & \text{for}\: \frac{c f - d e}{d} > 0 \\- \frac{\operatorname{acoth}{\left (\frac{\sqrt{e + f x}}{\sqrt{\frac{- c f + d e}{d}}} \right )}}{d \sqrt{\frac{- c f + d e}{d}}} & \text{for}\: e + f x > \frac{- c f + d e}{d} \wedge \frac{c f - d e}{d} < 0 \\- \frac{\operatorname{atanh}{\left (\frac{\sqrt{e + f x}}{\sqrt{\frac{- c f + d e}{d}}} \right )}}{d \sqrt{\frac{- c f + d e}{d}}} & \text{for}\: \frac{c f - d e}{d} < 0 \wedge e + f x < \frac{- c f + d e}{d} \end{cases}\right )}{d^{2}} + \frac{\sqrt{e + f x} \left (a d f - b c f\right )}{d^{2}}\right )}{f} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)*(f*x+e)**(1/2)/(d*x+c),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.216843, size = 176, normalized size = 1.8 \[ \frac{2 \,{\left (b c^{2} f - a c d f - b c d e + a d^{2} e\right )} \arctan \left (\frac{\sqrt{f x + e} d}{\sqrt{c d f - d^{2} e}}\right )}{\sqrt{c d f - d^{2} e} d^{2}} + \frac{2 \,{\left ({\left (f x + e\right )}^{\frac{3}{2}} b d^{2} f^{2} - 3 \, \sqrt{f x + e} b c d f^{3} + 3 \, \sqrt{f x + e} a d^{2} f^{3}\right )}}{3 \, d^{3} f^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*sqrt(f*x + e)/(d*x + c),x, algorithm="giac")
[Out]